package com.liuzu.esys.mapper;

import com.liuzu.esys.pojo.OutStorage;
import com.liuzu.esys.vo.OutStorageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 太上老君保佑：代码，绿绿绿绿绿！！！！！
 *
 * @Description :
 * @Author : 冯小冯
 * @Date : 2022-07-26 19:35
 */
public interface OutStorageMapper {
    List<OutStorage> selectByParams(Map<String, Object> params);


    int outStorageAdd(OutStorage outStorage);

    int outStorageUpdate(OutStorage outStorage);

    int outStorageDelete(int id);

    List<OutStorage> selectByKey(OutStorage outStorage);

    Integer storageSelect(String name);

    int storageUpdate(@Param("name") String name, @Param("stock") String stock);

    int deleteMessageByIds(@Param("ids") String[] arrId);

    List<OutStorageVo> datePieData();

}
